type MyListenerAction = {}
-- Called once when the script initializes.
function init(self: MyListenerAction, context: Context): boolean
return true
end
function perform(self: MyListenerAction, pointerEvent: PointerEvent) end
return function(): ListenerAction<MyListenerAction>
return {
init = init,
perform = perform,
}
end