Godot Version
Godot Engine 4.2.2.stable
Question
Is there a way to mask the pointlight2d texture using polygon2d? I tried using CanvasItem → Visibility → Clip Children → Clip Only but sprite2d and polygon2d seems to just ne invisible without applying the mask on pointlight2d texture. I’m currently trying to use pointlight2d as character FOV and polygon2d as mask as it could be editable shape using gdscript. If you guys have another way to make it please help!
I tried the method below: