godot mask code example
Example: godot mask over mask
func _pocess(delta):
$Light2D.range_z_min = $Sprite.z_index #Set mask only effecting specific image
$Light2D.range_z_max = $Sprite.z_index
func _pocess(delta):
$Light2D.range_z_min = $Sprite.z_index #Set mask only effecting specific image
$Light2D.range_z_max = $Sprite.z_index