So I have a spotlight in my character blueprint and I want to make it follow my cursor, any ideas?Btw, I’m new to unreal engine !
Hi there! I can think of several things:
- GetMousePositionOnViewport can give you Mouse X and Mouse Y (Get Mouse Position on Viewport | Unreal Engine Documentation)
- APlayerController has DeprojectScreenToWorld node that help you get direction and world position from some screen X and screen Y (APlayerController | Unreal Engine Documentation)
Thanks!!!