Hello, I want to know if it’s possible to get TouchEvent data, or any other data for that matter from the StateDefiner.listen callback. It passes in a ‘QueuedEvent’, but I haven’t been able to figure out if I can get the TouchEvent data from it.
I tried casting the QueuedEvent and the Data to a TouchEvent to no avail.
.listen(eid, ecs.input.SCREEN_TOUCH_START, (e) => { // How to access TouchEvent data? }
