Is this a glitch in the beta?

This made on the latest beta
Tap the red ball to make a mushroom clone.
Press the X to drag the X around
When mushroom clones created it forever checks if the X x position is greater or less than itself and moves to the X x position at a random change x of 0.5 to 1.5 when moving right and -.5 to -1.5 when moving left.
The mushrooms continually move at the random change x when moving right, but they all move the same change x when moving left.

Is my code wrong or is this a glitch in the new beta.
Asking for help


I dunno…
This seems like…?


I'm not very good at fixing bugs, btw​:grimacing:


Oh you liked it! Thnx!


My Bed time! Bye!


Bye.It's only 6:29 pm for me


Are you certain that they all move at the same speed? because for me, they are definitely moving differently, but the difference is very small the way you coded it.


It seems to have something to do with the fact that -.5 is greater than -1.5. When I change the code so that the mushroom moves to X's x position at a random change of -1.5 to -.5, it works as expected.


Thanks @Mathgirl for solving that issue.