This depends on what type of node your player is. If you’re using an Area2D or one of the PhysicsObject2D nodes (RigidBody2D and KinematicBody2D), they each have ways of detecting things. Note that Area2D does not collide - it detects overlap, but does not prevent it.
See here for more information:
If you’re using a Camera2D, it has a “Zoom” property in the Inspector.