Method SDL.Event()->poll() class SDL.Event Method poll int poll() Description Polls for currently pending events. Returns 1 if there are currently pending events, otherwise 0.