Thank you for your comment. The asset was Vision_Cone_2D. It's an addon in Godot's asset library that we used for the guard's vision cones i.e. we didn't write that code ourselves :)