Skip to content
Kerzinator_24
Download

Making the GUI Interactive

Welcome back! In this guide, youโ€™ll learn how to make the GUI from the previous guide interactive.

Prerequisites: You should already have a basic understanding of the GUI Utilities extension and Typewriter.


  1. Create an Item Click Event Entry.
  2. Select the items data you want to detect clicks for.
  3. Set Cancel Click to true.

item-click-event-creation

Link the Event Entry to another action, such as triggering a title.

link-event-to-title title-click

But now the title is partially covered because the GUI is in the way.

title-click-hidden

So we will add a close inventory action to close the GUI when the items are clicked in order to make the title visible again.

close-inventory title-click-again

Important: If you have already set the GUI definition to cancel clicks, the item click event will not be triggered.