Can you animate text?

Since I can't seem to figure out how to do it, am I right that you can't animate or add actions to text in Hype?

I assume you are referring to letter-by-letter effects? This isn't a built-in feature of Hype presently, but it is a popular feature request.

Text elements are just like any other one, so you can animate its basic properties and add actions. So for now, you'd need to manually break apart any text to be separate elements per character and animate those. (Or depending on goals/skills, integrate Hype documents with third party libraries that can accomplish it).

1 Like

Note you can also add tags around individual innerHTML text like <span> with an id or class <span class="actionOne""> and have JS or css target the class.
And run JS to individualise text to use in some function or css animation.

Below is a proof off concept.

[TextAnimations.hype.zip (103.8 KB)](https://youtu.be/-99DIiArOeA)

2 Likes

You can also use splitting.js:


and getHypeDocument

3 Likes