A hero who rescued a little boy who was teetering along the edge of the Herseypark monorail track has revealed the moment he sprang into action to save the child.

The boy was seen walking alone on the track of the elevated ride at the Pennsylvania theme park Saturday after he became separated from his parents.

He entered the secured area for the monorail ride and wandered onto the track, which is an estimated 20 feet off the ground.

John Sampson said his 'dad instincts kicked in' the moment he saw the boy teetering along the edge as a crowd of screaming, panicked adults tried to direct him to safety.

The boy, apparently overwhelmed by the shouting voices, placed his hands over his ears as he started to walk back and forth.