This is an example of stage directions.
Stage directions are written by the playwright in order to let the actors know what they should do on the stage and how they should behave. A dialogue is a conversation between two or more people; a monologue is a speech given by one person; setting refers to what the stage looks like.