So I have a script that identifies if a mouse is inside of a ui instance but for future reference is there a built in function for this? Maybe it will be faster if it was run in the c side of the engine.
You could use this :)
Script.Parent.MouseEnter:connect(function() -- Put your scripts here end)