=================
TKE_Selectability
=================

Opcode
======

.. csv-table::

	"ASCII", "!"
	"Hexadecimal", "21"
	"Decimal", "33"


Operands
========

| Variable geometry, Variable down, Variable up, 
| Variable move_down, Variable move_up, Variable invisible 

.. csv-table::

	"geometry", "Bitmask of affected geometry. 1 byte, if Geo_Extended (high) bit set, an additional second byte follows. All remaining fields are the same size as the ``geometry`` field. Bit definitions are :doc:`here </general/hsf/opcodes/geometry_table>`."
	"down", "Bitmask of geometry selected by mouse click."
	"up", "Bitmask of geometry selected by mouse release."
	"move_down", "Bitmask of geometry select by mouse motion with button down."
	"move_up", "Bitmask of geometry select by mouse motion with button up."
	"invisible", "Bitmask of geometry which may be selected even if not visible."


Notes
=====

This controls which types of geometry in a segment may be selected, and what actions may trigger a selection.

This opcode was not available before HSF version 6.30.
