Border around text rectangle
-
Hi Marco,
Yes it is! You can enable the Background option in the Text component.
Check out this guide for more information:
https://lensstudio.snapchat.com/guides/2d/text/
Thank you,
Jonathan
Comment actions -
Thanks Jonathan.
But setting the background will only fill the background. I was wondering how to set a border around the rectangle.
thanks
Comment actions -
Ah sorry :)
You can use the Extents Target option to use the size of a text to determine the size of another screen transform. Then, if you add an image under that screen transform, and give it padding, you can have a border around your extents target.
Take a look at this example project for an example: https://storage.googleapis.com/snapchat-lens-assets/f1a09194-f02d-43ed-92b8-62e843179ff0/lensStudio/Forum-Helpers/Border-example.zip
Let me know if you need any clarification! Can't wait to see what you come up with.
Cheers,
Jonathan
Comment actions
Please sign in to leave a comment.
Have a comment?