Custom Function
X

Menu
/*This is a custom function to be passed to a morph.
The arguments are required and cannot be changed.
s = source morph (morph where event is stored)
t = target morph (morph that the function will be targeted at)
evt = a javascript event passed in when the interaction is triggered,
such as a mouse action
*/
this.functionToPass = function(s,t,evt){
    show('hello world!')
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Save
Cancel