Godot - Change Clip Children Setting
GDScript code example to change the Clip Children setting used in Sprite2D or Mask nodes.
To change the Clip Children setting from GDScript, you modify the value of the "clip_children" property.
clip_children = 0
clip_children = 1
clip_children = 2
clip_children = 3