How is the MaxActivationDistance property of ClickDetectors calculated?

I’m trying to implement a replay system for my game. I want the cursor to also be replayed. However, I don’t have a system that replicates the cursor when it hovers over a ClickDetector. So, I want to know how MaxActivationDistance is normally calculated.

1 Like

MaxActivationDistance controls the maximum distance, in studs, between a Character and the ClickDetector

2 Likes

Thanks, before I used distance between the object and the player’s RootPart, but now I’m using the function DistanceFromCharacter().

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.