How to check whether a Node is active?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By codevanya
:warning: Old Version Published before Godot 3 was released.

There’s a visibility toggle alongside every node and I want to check if a node is active (visible?) from script. Anybody know how to do that?

I'm talking about these things

:bust_in_silhouette: Reply From: Hinsbart

Are you looking for is_visible()? ^^

Thank you so much! That’s exactly what I was looking for. :slight_smile: I checked every other class except CanvasItem.

codevanya | 2016-04-28 18:07