Checks if a node has the given sprite frame name either in the sprite or in the sprite inside the button.
Function isSpriteFrameName
#include <Geode/utils/cocos.hpp>cocos2d::CCNode*node
,charconst*name
)node
Node to check
name
Name of the sprite frame to search for
True if the node has the given sprite frame name