3D Lingo Dictionary > T-Z > unregisterAllEvents |  |

unregisterAllEvents

Syntax

    member(whichMember).unregisterAllEvents()

Description

3D command; unregisters the referenced cast member for all event notifications. Therefore, all handlers that were previously registered to respond to events using the `registerForEvent` command will no longer be triggered when those events occur.

Example

This statement unregisters the cast member named Scene for all event notifications.

    member("Scene").unregisterAllEvents()

See also

`registerForEvent()`