How do I detect browser back button pressed on desktop?

Get help using Construct 2

Post » Tue Apr 28, 2015 3:46 am

How do I detect if the user has pressed the browsers back button when running on the desktop?

the browser "On back button" seems limited to mobile, is there a way to detect it in desktop, so I can add an "Are you sure?" alert before the player exits the game.

Cheers
Ben
B
7
Posts: 33
Reputation: 351

Post » Tue Apr 28, 2015 9:52 am

Unfortunately, this is part of the browser itself and sounds like a feature that would be out of the scope of the sandbox/canvas the game is executed in.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
284
S
109
G
91
Posts: 7,319
Reputation: 87,487


Return to How do I....?

Who is online

Users browsing this forum: troxx and 1 guest