I’m trying to make a size animation that is bounce-out when the mouse is down on my button.
Not touching, but is touching and holding/clicking. When the button is released, it gets reset to its original size.
Edit: Also I’m pretty new so I don’t know a thing about buttons.
Xcode is giving me an error on
_mouseListener = EventListenerMouse::create();
The error says:
C++ requires a type specifier for all declarations
Define the type of the mouse listener.
when in doubt just use auto
auto mouseListener = EventListenerMouse::create();```
1 Like
ok lol
thx
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.