-- Lingo syntaxspriteChannelObjRef.scripted // JavaScript syntaxspriteChannelObjRef.scripted;
Sprite Channel property; specifies whether a sprite channel is under script control (TRUE) or under Score control (FALSE). Read-only.
These statements create a scripted sprite from cast member kite in sprite channel 5 if that channel is not already under script control.
-- Lingo syntax
if (channel(5).scripted = FALSE) then
channel(5).makeScriptedSprite(member("kite"))
end if
// JavaScript syntax
if (channel(5).scripted == false) {
channel(5).makeScriptedSprite(member("kite"));
}