natiny.view.set_pickable
natiny.view.set_pickable(view, pickable)
Sets whether the pointer can land on a view, or passes through it to what is below.
Parameters
| Name | Type | Description |
|---|---|---|
view |
number |
View handle |
pickable |
boolean |
false to let the pointer through |
Example
-- a tooltip that must not steal the hover from the button under it
natiny.view.set_pickable(tooltip, false)
Notes
- It does not change drawing.
natiny.view.HOOK_DRAWis called as usual.