You can either get distance from the cube every frame and when it's under defined threshold, pressing E will start the next event - saving game for example. Or you can put a cube with only transform and trigger collider and start the event on trigger stay.