u/Just_Scientist_5687

Questions about chat.popout for Foundry module development

Hello everyone. I'm developing a module for Foundry and I'd like to add a small button to an automated chat message that performs the same function as a right-click/chatpopout button. I haven't been able to find a solution. The functions I've found so far include a window, which isn't suitable as it works like a popout, and the popouts I've found don't inherit the chat message's internal functions or buttons. Does anyone know how to solve this? Is there a module that performs this function whose code I could analyze? Thank you very much. (foundry v13)

reddit.com
u/Just_Scientist_5687 — 6 days ago