How to make floating joystick using rexrainbow's Joystick Plugin?

this.input.on('pointerdown', function (pointer) {
    this.movementJoyStick.setPosition(pointer.x, pointer.y);
}, this)

See this demo, line 33-35

1 Like