Hey guys,
Im in a bit of a pinch right now, I wish to disable movement by mouseclick, but not the game not registering the mouseclick. Ive stumbled upon this command while searching: "TouchInput.update = function() {}", but its not perfect, since it also seems to disable TouchInput.isTriggered(), so its not useful for having certain ''click button'' elements ingame.
So my question is: How to get rid of mouse interaction, but not keep the game collecting mouse coordinate data - and not being able to use TouchInput.isTriggered().
Im in a bit of a pinch right now, I wish to disable movement by mouseclick, but not the game not registering the mouseclick. Ive stumbled upon this command while searching: "TouchInput.update = function() {}", but its not perfect, since it also seems to disable TouchInput.isTriggered(), so its not useful for having certain ''click button'' elements ingame.
So my question is: How to get rid of mouse interaction, but not keep the game collecting mouse coordinate data - and not being able to use TouchInput.isTriggered().