Changing the speed of an Object using Variables

I’m trying to make it so I can make an Object move up at a speed the same as a variable. Ex: y pos speed = to variable value.

Try entering the speed variable expression into your position event where you’d normally place a number value. Something like…

Y Position = Variable(speed)

Note that’s for a scene variable named “speed”.

If you want to use an object variable, it should be:

Y Position = objectname.Variable(speed)

Or a global variable would look like:

Y Position = GlobalVariable(speed)