Skip to main content
Nikita_Bureev
Aug 2, 2023 11:40 AM UTC
Question

Get the username and write it to text?

How to get the username of the person who clicked on the widget and write it to text? Hi all! Can this be done somehow? My programming skills are very bad, I have a simple number randomizer widget

This topic has been closed for replies.

1 reply

tank666
Aug 2, 2023 11:56 AM UTC

Attach a click handler to the desired component, then in this event handler get the username, and set the state for the Text component with the data you need.

figma.com
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank