-- send event #mouseDown programmatically to sprite 1 sendSprite(1, #mouseDown) -- send custom event #foo to named sprite "bar" sendSprite("bar", #foo) -- send custom event #fooBar to all existing sprites sendAllSprites(#fooBar)