i want to reach a function that when mouse is over an object,it will play "a" animation.but when mouse is not over an object,it will play "b" animation.what should i do?
Develop games in your browser. Powerful, performant & highly capable.
If mouse.x , mouse.y is (location of object) action: "play animation a"
(default animation="play animation b"