Any way to make an event when a player moves past a distance of a center?

Title - is there any way to do this with an event?

you can make a while loop and check the magnitude of the player plus the center, im not very sure what ur asking tho