Skip to main content
Participant
January 29, 2022
Question

Frames duplicate custom cursor in AIR

  • January 29, 2022
  • 1 reply
  • 175 views

I'm using frames to make my test app, and I added a custom cursor because I'm bored of the old plain cursor. The frames duplicated my cursor whenever it restarts from the first. How do I fix this?

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
January 29, 2022

put the code you don't want to repeat within an execute once conditional:

 

if(!this.executed){

// code you don't want to repeat

this.executed=true;

}