How to add Event 'mouseover' on Block or something to get Block when mouse move on workspace

201 views
Skip to first unread message

thanhn...@gmail.com

unread,
May 7, 2018, 5:52:01 AM5/7/18
to Blockly
As subject, i want to get a Block on workspace when mouse move.
Some one help me to implement ?
Thanks all.

picklesrus

unread,
May 7, 2018, 2:58:00 PM5/7/18
to Blockly
I'm not sure what you want to do with the block once you get it and that might change my answer, but I'd start by taking a look at the tooltip code as an example.  It detects when the mouse moves into and out of a block. 

Hope that helps!
picklesrus

thanhn...@gmail.com

unread,
May 7, 2018, 11:38:12 PM5/7/18
to Blockly
That is good idea.
I will try it. Thanks you.

Vào 01:58:00 UTC+7 Thứ Ba, ngày 08 tháng 5 năm 2018, picklesrus đã viết:
Reply all
Reply to author
Forward
0 new messages