whats the best way to make this trap door

there is a button behind the podium that the “judge” pushes if the convicted are guilty. that button will make the trap door (shown above) open and the dude will fall down a chute.
what im having trouble is how the trap door would open. i was thinking of making it a func_door_rotating but i dont know how i would make it work sideways.


Also not sure of how you would do it when flat. Did you consider doing func_door? And set the speed high?

nvm, got it working. problem solved.