Distance between camera and object

I don’t want to people to click a key far away from it so they don’t cheat how do I make it so you have to be close to the key in order to pick it up?

Hi @Sebastian_Santos,

You can add “If distance between camera and key is less then *” check into "When clicked " CoBlock


Hope that helps