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

5 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
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•2y ago
Message Not Public
Sign In & Join Server To View
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•8mo ago
Message Not Public
Sign In & Join Server To View