Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Marcos Selecting tolkens?

Is there a way to use a macro to select a tokens. for movement?
1612003909

Edited 1612003940
GiGs
Pro
Sheet Author
API Scripter
Can you explain your goal a bit more? Macros cant move anything, or make changes to characters, tokens, or anything.
You can click on a tokens to select it. Once selected you can then move it with the arrow keys. Is there a way, to click on a macro to select the token instead. I know the int tracker keeps track of which  tokens is which, because whenever you hover over a name it highlights the token, I also know tokens have individual ideas as this macro will give the id of a token you have selected.  &{template:default} {{name=**Character & Token ID**}} {{Name=@{selected|character_name} }}  {{**Character ID**= @{selected|character_id} }} {{**Token ID**= @{selected|token_id} }} I think the pieces are all there. I want a way to pick a single token out when the map is busy, besides clicking on it Same way you can use the short cuts to avoid having to click the select tool or the chat box.
A macro cannot adjust any token settings -- it can only read from a token's attributes, not write to them. If you have a Pro subscription, you can use various APIs to control/adjust tokens (such as the TokenMod script), and write macros to run the API commands. But there's no way to use an API to 'select' a token for movement.  You could use an API to 'target' a token and have it do something to that token... but the token wouldn't be selected by your mouse. Basically all a macro does is the same as any command you can write into the chat bar yourself. It just allows you to 'pre-write' those commands and call them quickly.
Disappointing.. Thank you for your help