How do I make the exported variable only expose if a bool is checked?

Godot Version



This is Sprite2D in editor, without Region enabled.

This is it being enabled.

Apparently, there’s a way to expose property only when other property is in a specific state.
I remember reading somewhere this is possible with GDScript, though not simple to do, but it keeps editor clean. I cannot find the post now.
So how do I do that? Thanks for reading.

Wow that was quick, thanks

1 Like