Magic wand command
Have you aver wanted to have a sort of magic wand that continuously does a command whenever you hold it? Well, if you're in Bedrock Edition you're in luck! With one command block and one /give command, you can get your own magic wand!
Step one: Get a command block.
Step 2: Get special data value stick. I prefer to space them out in values of 5.
Step 3: In the command block type this command:
Step 4: REPLACE the word command with the command you want. Do NOT include the slash at the start of the command you want.
Step 6: Set the command block to repeat and always active. If you want to be able to control the command block without breaking it, connect it to redstone and set it to needs redstone instead.
You are now done and have a cool magic wand. If you would like to do it again with a new command, repeat all the steps and change the 5's to 10's or 10's to 15's etc.