W

#### Wazkat

##### Guest

There is an old game, Madness Interactive

I'm looking for some help on recreating the hand rotation within this game

Here is a gameplay video of the game I found

So yes I am looking for a way to recreate the hand rotation system it has, if it is possible.

Looking if it's possible for Legacy GM, but I also have GM:S 1.4

I do not know where to start in creating this, but if it helps, here is what the coding appears to be, but this is not in GML

Code:

```
x = _x-_root._xmouse;
y = _y-_root._ymouse;
_rotation = -Math.atan2(x, -y)/(Math.PI/180);
```