Defense agency DARPA has created a robotic helicopter with legs that can fold up when they’re not being used.

The legs, which stash away next to the helicopters fuselage during flight, have been created so that the robot can land on uneven surfaces.

Each foot has a sensor built into it that allows the legs to control the position they place themselves in.