Godot maska nad maską
func _pocess(delta):
$Light2D.range_z_min = $Sprite.z_index #Set mask only effecting specific image
$Light2D.range_z_max = $Sprite.z_index
Spyrex
func _pocess(delta):
$Light2D.range_z_min = $Sprite.z_index #Set mask only effecting specific image
$Light2D.range_z_max = $Sprite.z_index