Input.isPressed is identical to the event option: it checks if the button is pressed down right now. You'd want Input.isTriggered("shift") here.However, like Mac guessed, there's a catch: each frame, Parallel events update after the main interpreter (non-Parallel, e.g. Autorun). That means page 2 will unpause, but then page 1 will run the same frame, see the button as still "triggered", and immediately pause again. You can work around that by adding a "Wait 1 frame" at the start of page 1 (Parallel).
◆Wait:1 frame
◆If:Script:Input.isTriggered("shift")
◆Show Picture:#1, icon, Center (408,100), (100%,100%), 255, Normal
◆Control Self Switch:B = ON
◆
:End◆If:Script:Input.isTriggered("shift")
◆Erase Picture:#1
◆Control Self Switch:B = OFF
◆
:EndAlternatively you could use a switch-based approach, e.g. (tested):
◆If:Button [Shift] is pressed down
◆If:Self Switch A is OFF
◆Show Picture:#1, icon, Center (408,100), (100%,100%), 255, Normal
◆Control Self Switch:A = ON
◆Control Self Switch:B = ON
◆
:End
◆
:Else
◆If:Self Switch A is ON
◆Control Self Switch:A = OFF
◆
:End
◆
:EndHere I've used self-switches: A tracks if the button was pressed last frame, B tracks whether the game is paused. This is on page 1, and page 2 has condition self-switch B is ON, with almost identical commands:
◆If:Button [Shift] is pressed down
◆If:Self Switch A is OFF
◆Erase Picture:#1
◆Control Self Switch:A = ON
◆Control Self Switch:B = OFF
◆
:End
◆
:Else
◆If:Self Switch A is ON
◆Control Self Switch:A = OFF
◆
:End
◆
:End