Use dynamic text to create personalized effects that show text specific to someone's situation. For example, their location or the date.
You can add both 2D and 3D dynamic text to your effects.
We've added dynamic text to a project in this tutorial.
Start by adding text to your scene:
Go over to the Inspector — you'll see a text box under Typography.
To add dynamic text:
Click Insert to the right of Dynamic Text.
You'll see a list of options. For example, Current City, Current Airport and Day of the Week:
Each of these options represents a different type of personalized text that can be added to your effect. Choose the options you want. The text will be added to your scene.
When you're building an effect with dynamic text in Spark AR Studio, you'll see default values for the text you've added. For example, the Current City will always show as London. This is because Spark AR Studio doesn't have access to that data through your computer.
There are specific approval policies for dynamic text. It's worth taking a look at these before submitting an effect that includes dynamic text, to make sure it's accepted first time.
If your effect includes text that's not integrated into the scene, it won't be accepted. See our policy on visual text, for more information.
This is because simply placing text on the screen tends to cover up and interfere with the AR experience instead of appearing naturally in the scene. Remember that people often prefer to add their own text and stickers to effects when they share them in their Instagram or Facebook stories. The only type of static text we accept is a timestamp or a few numbers on a film strip that don’t block the experience for users.
If you need to include text that’s not a timestamp, use a face tracker or plane tracker to track the text to the face or moving object.
For example, if you want to use a score counter in your gaming effect, track it to the user’s head using a face tracker, as in the example below.
For an example of how to integrate text into an effect, learn how to create a 2D photo effect with a dynamic timestamp.
Text is rendered in American English — it won't be translated into other languages.
You can use the formats and fonts available in the Inspector to customize your dynamic text. You’ll need to use your own script to apply more flexible options.