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
S
1
Posts: 33
Reputation: 501

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
294
S
117
G
96
Posts: 7,311
Reputation: 71,086


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests