uxebu / bonsai

BonsaiJS is a graphics library and renderer
http://bonsaijs.org
Other
1.96k stars 189 forks source link

DisplayObject method to query whether it is visible or not #170

Open iamdustan opened 11 years ago

iamdustan commented 11 years ago

The _isOffstage flag says false whether the DisplayObject is on the screen or not, so it would be wonderful to have a method or property to query whether a DO is visible or not.

Something like:

myDisplayObject.is('visible')
myDisplayObject.isOnStage()