MCPcopy
hub / github.com/KilledByAPixel/LittleJS / isActiveObject

Method isActiveObject

plugins/uiSystem.js:932–932  ·  view source on GitHub ↗

@return {boolean} - Is the mouse held onto this element

()

Source from the content-addressed store, hash-verified

930
931 /** @return {boolean} - Is the mouse held onto this element */
932 isActiveObject() { return uiSystem.activeObject === this; }
933
934 /** @return {boolean} - Is the gamepad or keyboard navigation object */
935 isNavigationObject() { return uiSystem.navigationObject === this; }

Callers 5

updateMethod · 0.95
renderMethod · 0.95
updateMethod · 0.80
renderMethod · 0.80
gameUpdateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected