pikminman Posted January 20, 2018 Share Posted January 20, 2018 Hey guys! I have an input event as follows: this.jump1.events.onInputOut.add(() => this.turnOff(['jump'])); How can I simulate this event programatically? I know I can just call the inner function, but I want to actually simulate the event. Is there any way to do this? Thanks! Link to comment Share on other sites More sharing options...
samme Posted January 20, 2018 Share Posted January 20, 2018 Link to comment Share on other sites More sharing options...
pikminman Posted January 21, 2018 Author Share Posted January 21, 2018 No that doesn't seem to work. The problem I'm having is that I have an `onInputOver` and an `onInputOut` on an element, however it doesn't allow the onInputOver unless there has been an onInputOut Example: 1) User drags thumb onto element, onInputOver event fired 2) User *lifts* thumb, doesn't slide out, onInputUp fired 3) User drags thumb in again and onInputOver isn't fired until after onInputOut is Link to comment Share on other sites More sharing options...
Recommended Posts