GetPropertyChangedSignal does not work for Mouse

I have this basic line of code:

mouse:GetPropertyChangedSignal("Target"):Connect(update)

However, for some reason, this does not fire the update function. Why?

For performance reasons many properties such as Mouse.Target and BasePart.Position do not fire Instance.Changed or Instance:GetPropertyChangedSignal events. So you will have to detect when the mouse moves instead, preferably via UserInputService.InputChanged.

1 Like

Alright, thanks, since a good friend of mine suggested I use GetPropertyChangedSignal (and I had not considered it before).