This extension contains optimized functions written in GML to add field of view to your projects.
Use the Inside function to check if and object is inside a field of view. You can specify any width and distance of the FOV in the arguments as well as the object id.
The draw functions work as any of the build-in functions. You can set the color and alpha before calling them and choose whether to fill or draw only outline.
For further information please check the help file or contact me on the email.
WARNING The raycasting is time consuming and calling the functions on too many objects at the same time will slow the game down.