position reaction problem

BlitzPlus Forums/BlitzPlus Beginners Area/position reaction problem

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I think the code should be something like this:
;if images are on above each other
if image01_x = image02_x then
  ;and image 01 is above image 2
  if image01_y < image02_y - image01_height then
    ;move image 01 down
    image01_y = image01_y + 1
  end if
end if