Are you asking about an imaginary joystick, like buttons you make that act like one?
Please explain a bit more…
I don’t really think pasting all of that code was really required. It would suffice to paste the relevant code or an example of a line of code that you’d like to change, for instance.
Please refer to this thread for how to post code properly next time: Using code tags properly