first make sure youve added the Mouse object to the project, thats what gives you Mouse.X and Mouse.Y. then its just every tick -> set the light position to those, and itll follow the cursor. if you want it mounted on the player instead, position it at the player each tick and set the angle with angle(player.X, player.Y, Mouse.X, Mouse.Y) so it aims at the mouse. and if the light seems to do nothing, check its z position, a 3d light sitting inside or behind the geometry wont show up.