Home  Contents

touch:clearCallbacks

Touch Core4 Lua Event System

SYNOPSIS

touchhandle:clearCallbacks()

DESCRIPTION

The function touch:clearCallbacks() will set all callback handlers to nil. Using touch:clearCallbacks() instead of just assigning nil makes sure that all callbacks are cleared, even if future releases of the software support more callbacks than documented here.

SEE ALSO