I have created a spawner that spawns an object randomly on the x-axis every 4 seconds but it only spawns the object on right side of the screen. how to I fix so it spawns on the left side aswell?
Thanks
Could you include a code snip please?
Random(x)-Random(x) = range(-x, x)
RandomInRange(-x, x) doesn’t work
Oh, right now it is always making it at x pos of 700. Change it to RandomInRange(200,700) (change the 200 to whatever number fits in the area you want to fish in)
1 Like
Oh okay!
Thank you so much for you help! It now works!
1 Like
I’m not sure what x represents but the RandomInRange() expression needs more than just x. It needs something like Variable(x) or objectName.X()