ID:2516673
 
(See the best response by Luis455.)
Hey, I've been trying to find a way to make an arrow on the player's screen point in the direction of someone/something they're looking for. A game I play has an example of this: https://i.imgur.com/THHjhwM.png

Does anyone know how to do this? Appreciate it.
Best response
Hey, you could mess around with Kidpaddle Compass Library, its really easy to work it and with a few tweaks and changes you can do what you want to.

http://www.byond.com/developer/Kidpaddle45/Compas
There's a couple of ways to do it. Depends on how accurate you want the arrow to be. A simple pointer would just consider x/y variables but a more accurate (and costly one) would be to use trig functions.