MOVE keyword

Move an object on screen.

Syntax

MOVE object, (x, y), delay
MOVE object, "effect", delay

Parameters

  • object: object to move (required)
  • x: integer of horizontal position (required)
  • y: integer of vertical position (required)
  • delay: a time delay in milliseconds. When specifying (x, y), default value is 0 (meaning instant destination). When specifying "effect", default value is 1000ms
  • effect: possible effect (required)

Example

MOVE myImage, (200, 100)         'The object is moved instantly to x=200, y=100.
MOVE myImage, (200, 100), 2000 'Moves the object to destination in 2 seconds.
MOVE myText, "out-right" 'The object is moved with a 1 second delay (default).
MOVE myText, "out-right", 4500 'The object is moved in 4.5 seconds.

Go back to list of Keywords.