php8.5
Home/ Manual/ ui / area/ UI\Area::onMouse

UI\Area::onMouse

PHP function Edit on GitHub ✎

(UI 0.9.9)

Mouse Callback

Description

UI\Area::onMouse(UI\Point $areaPoint, UI\Size $areaSize, int $flags)

Shall be executed on mouse events

Parameters

areaPoint

The co-ordinates of the event

areaSize

The size of the area of the event

flags

Event modifiers

Source: reference/ui/ui/area/onmouse.xml · from the official PHP manual (php/doc-en)