Categories


Description :

Called when any mouse button is pressed.

Uses :

This is called once when the mouse button is pressed. Behaviour in scenes is different than that of classes. For classes this is only called if the mouse button press occurs on the object of the class.

Example :

This code starts looping the Selected animation as soon as the mouse button is pressed on top of the object.