mouseClicked

open override fun mouseClicked(mouseX: Int, mouseY: Int, mouseButton: Int): Boolean

Handles mouse clicks for this element and returns true if an action was performed. Used to activate the elements action.