Completely hide the DisplayObject

visible

Properties that show/hide the DisplayObject. The data type is Boolean and defaults to true; assigning false will hide the DisplayObject. Hidden objects cannot get user events such as mouse, tap, and so on.

visible image

Example

Next Chapter