Documentation
›
API Reference
›
Object
›
EventQueue
Peek
Lua
C++
This function is used to check if any events are being stored in the event queue.
Syntax
global boolean
Peek
()
Returns
Returns true if an event is available, otherwise false is returned.