#the simplest way to do it is to see if

1 messages · Page 1 of 1 (latest)

shut peak
#

i tried using an if statement to do it and it doesn't register the input.x. whats the best line to use to check if input.x is 0

hollow sleet
shut peak
hollow sleet
shut peak
#

i haven't done one in C# yet. i started with GML and that's roughly how it worked

hollow sleet
shut peak
#

f (Input.x == 0 || walkspeed = 0); is what i cam up with looking around but its still not registering.

hollow sleet
shut peak
#

ya, the red line is under the "x" after input

hollow sleet
shut peak
#

if i had to guess it would be an input being made to the x axis. but i'll be honest im not sure. was following a tutorial and decided to try and do something extra to help learn

hollow sleet
#

once you have that if statement coded, you can set the walkspeed to 0 inside it

hollow sleet