Gate. Is ok but preferred that the hinges fold the same way so as to have both ends touching the wall