How do you use random

I’m recreating packman and I need to know how to use the random function

Isn’t that self-explanatory? :confused:

In the properties panel of the random behavior you can set the min and max value. When you input “new” it’ll output a random value between the min and max value.

Let’s say you have a timer go to new, min is 0 and max is 10, then have the random (set) and (in) a number and every time the timer ticks, it spits out a number between 0-10. From there, have the number go to filters for specific actions for each number, like equal to 1 is rotate, equal to 2 is jump, equal to 3 is destroy, equal to 4 is play an animation, whatever you want to happen for each number of the random.

cool thanks man