Image 'When clicked on' effect for custom GUIs

Upvotes: 1
Issue description

It would be cool to add procedures for clicking on images to custom GUIs, because when using images for backgrounds of GUIs having the normal button often look out of place.

It would also help stylise custom GUIs more, and could be used to create secret buttons that are invisible :)

Issue comments

I have come up with a limited way to do this by hiding a button behind an image, However, it is difficult to do with many images due to their shape, and some images can be too small for this.

One can not detect clicks on images. We do plan to add buttons with images in 2.x.x though.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.