The next challenge is to hover near an elevator panel, press E and then the panel should show feedback that it was pressed. In this case, we will change the panel’s indicator from color Red to Green.
Currently, the indicator is just a sphere parented inside the Elevator panel:
In the panel itself, the collider is wider than the panel. Also, Is Trigger is set and RigidBody is enabled so that it can capture collision.
In the ElevatorPanel code, we just detect if the Player is in the collider and if E is pressed, the material of the Call_Button will be changed to green.
Now, the elevator panel indicates if it is pressed by the Player: