Event.dx not working?


trying to use event.dx (or dy) for player movement animation defining but the dx / dy part doesnt seem to register.....might be doing something wrong?

Hi James, you might be trying to read them in the wrong event; note as per the docs, event.dx and event.dy only contain values in the update, interact, collect, confirm, and cancel events.

Hi Benji, Thanks for this. I am using it in the 'on update do' command but the dx/dy was remaining white and showing an error. Seems to be working now so all good.