I can't seem to make an object move left and right, back and forth, on room start whilst on solid ground.
Codes I used:
Step Event:
if image_index is greater than 5, then physics_apply_force (0,0,100,0) for the right
if image_index is less than 5, then physics_apply_force (0,0,-100,0) for the left