Capture hover events on individual layers. Note that layers must be enabled and have an opacity larger than 0 to receive hovers. Does not work on simulated or connected phones or tablets.
在單個(gè)層捕獲懸停事件阴挣。注意層必須啟用人弓,透明度大于0接受懸停导帝。不支持模擬/連接的手機(jī)路狮、平板淀弹。(板栗:有鼠標(biāo)才能懸停才能支持啊瑞筐,如果Hover禁用了鞍盗,檢查一下模擬器是不是選擇了手機(jī)或平板)
Use the Touch button on a layer to quickly add interactions.
使用圖層上的Touch按鈕快速添加交互金赦。
輸入口
Layer 圖層
A layer to check for hover interactions.
一個(gè)檢查懸停交互的圖層拭宁。
Enable 啟用
A boolean that is true when hover detection is on.
懸停啟用時(shí)布爾值為真洛退。
輸出口
Hover 懸停
A boolean that is true when the mouse is hovering over the layer.
鼠標(biāo)懸停在圖層上布爾值為真。
Position 位置
The position of the cursor, relative to the center of the layer's parent group or device.
光標(biāo)的位置杰标,相對(duì)于層的父組或設(shè)備的中心兵怯。
Related Patches 相關(guān)模塊
Interaction