/tg/ Station 13 - Modules - Types

code/datums/components/clickbox.dm

/datum/component/clickboxThis component adds a near-invisible underlay to a movable target to expand the clickable surface of its icon without resorting to MOUSE_OPACITY_OPAQUE. The underlay ignores the parent's color and alpha and can be offset. The name is a portmanteau of "click" and "hitbox", because technically this isn't an hitbox, but it helps catch clicks, and I don't want to give it a loooong name like openspace_item_click_handler