Hello,
you can simply use the condition "compare 2 values" which can be found in System. In the first value, enter the distance between the player and the object :
distance(Player.X, Player.Y, Object.X, Object.Y)
then sets your comparaison type and finally the value to compare, which is going to be a distance in pixels.