Cant set altitude for plane

I cant set altitude for a plane without loading a mission,Is there a command (in sitl) to set a flight altitude?