A downloadable asset pack

Download NowName your own price

Click on the top layer only!

A must for every GameMaker Studio game using a mouse. Make sure the player doesn't click on anything behind a window or button. 

This script checks the depth of all clickable objects and makes sure that only the one closest to the camera is selected.

Simple and easy to use, just one script and one object!

Updated 27 days ago
StatusReleased
CategoryAssets
AuthorDeklaration
Tagsclick, depth, GameMaker, gms, layer, mouse, script

Download

Download NowName your own price

Click download now to get access to the following files:

toplayerclicker.yymps 14 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.