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

Godot Version

4.2.2

Question

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