how to add option menu popup when i click to button?

im currently designing my play menu and i have the home button at the corner of the scene . i want to have an option menu when i click the button + when i click escape i want to pause the game

you could probably do this: if(keypresseddown(keycode.escape) || button.pressed = true)
{
time.timescale = 0f;
}