Hey I got stuck im trying to figure out how I could make it when a Gui.button is pressed it acts as if pressing the down key on the keyboard rather than pressing the down key - Im using JavaScript? I hope this explanation is good enough not too good at explanations.
Cause it will be on phone I want when the button is held in it cause it to think its pressing down on the keyboard so I joins with the movement script I have
Well I don’t really want the script to move the player because the movements in another script which moves the player if a directional key is pressed so I was hoping I could just have a script that will act as if its pushing down, since the computer version doesn’t need it but the mobile version does.
Not sure is that possible. Generally, you have to make an interface for your player’s movement, and implements it according to your input device.
If you will find solution let me know please. I’m interested too