Hello, this is my first time posting here. I'm new to using the API. I am trying to figure out how to get the id of a selected token in order to dynamically write abilities to the NPC (monster, standard NPC, etc.). Specifically what I am trying to accomplish is when I drop a token on the fieldI would like to check if there is an ability named "menu-macro" and if not write a series of standard abilities for that NPC; e.g perception check. a menu of repeating attacks, etc. I want to write these abilities so that I can standardize the "macro buttons" in order to speed up game play. I have the function to create abilities handled, but I am struggling with the code to simply grab the id of the token that I have selected. It is surprisingly not well documented or I am just an idiot who isn't reading the documentation well. :) Any help anyone could provide would be great! Thanks!