Example |
This example toggles the sprite's actionsEnabled property on or off based on the checked state of a button.
If Checked@"MyButton" then
SetSpriteProperty(@"Flash Icon", #actionsEnabled, True)
else
SetSpriteProperty(@"Flash Icon", #actionsEnabled, False)
end if
|