00:00
00:00
Newgrounds Background Image Theme

Jmurr12 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Browse Sections

Newgrounds Wiki: hasEventListener

Usage

import com.newgrounds.API;
var has_listener:Boolean = API.hasEventListener(event:String);
  • event - The event name to check. This should be one of the constants in APIEvent.

This method returns true if there is a listener attached to the requested event.