If object hover over object go to next frame

I need help to see how to input this cause I’ve tried a lot of things.
so help me

and how to block an object from an object

If you want to go to the next frame when an object is hovered over with the cursor, try this:

/* replace "clip" with the name of the object */
if(clip._mouseState==="over")
gotoNextFrame();
1 Like