Make component which follows mouse

How would I make a functional component which follows the user mouse (using renderstepped / heartbeat) also, i should probably be using a frame instead of a fragment but point still stands
No description
5 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Phantom
PhantomOP2y ago
yeah i tried that but idk how to make it work without making a memory leak like basically i need it to connect when the component is mounted and disconnect once it is unmounted
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Phantom
PhantomOP2y ago
wait so how would i make it so it constantly follows mouse? oh wait right i get it soz i create a connection and disconnect it on destroy
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?