Functions are like messages, but they returns a value. Usually a function is used to perform complex action on a value, otherwise messages are more common and uses by programmers.

Syntax is:

function MyFunc param1
 return param1 + 1
end MyFunc

and is used this way

on MouseUp
 answer MyFunc(4)
end MouseUp

Here is a list of common of available functions:

(pleas help us to complete this list)

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.