Skip to main content

MessageWasHandled

Type

expression

Summary

Determines whether a message was handled

Syntax

the message was handled

Description

Determines if a dispatched message was handled by any script objects in the message path.

Examples

public handler OnMouseUp() returns nothing
send "buttonClicked" to my script object
if the message was handled then
return
end if
log "The message was not handled"
end handler
Thank you for your feedback!

Was this page helpful?