How to add option on right click on blocks

34 views
Skip to first unread message

Md Reyan Khan

unread,
Sep 9, 2021, 5:08:11 AM9/9/21
to Blockly
How to add option on right click on blocks
Like if we right click on any block we get option like Duplicate, Delete
So I want to add my options
Is this possible? If yes then how

Aaron Dodson

unread,
Sep 9, 2021, 5:26:17 PM9/9/21
to Blockly
Hi,

We have a codelab for creating custom contextual (right click) menus - it guides you through the process of adding custom options to both blocks and the workspace. Hopefully that helps some!

- Aaron

Reply all
Reply to author
Forward
0 new messages