Functions

Use functions in place of values for some automatic calculations. Example:

update sprite MySprite where x=random(50) if (covered(MySprite)) update sprite MySprite where angle=getpolard(MySprite.x,MySprite.y,AnotherSprite.x,AnotherSprite.y) endif