0 votes

I am making a simple code editor with some animations and I thought it would be best to use TextEdit node for that because it has built in features like Showing Line number, highlighting etc. But TextEdit doesn't seem to have any percent_visible property for the animation I was planning to do.

Godot version 3.2.3 Stable
in Engine by (62 points)

1 Answer

+1 vote
Best answer

This property is not available for TextEdit but if you're goal is to animate the text, you could do it yourself. You put your text into a string and you set the TextEdit text with a subset of you string. This is your way of recreating percentage visible.

by (627 points)
selected by

That's a good idea. Thanks pal!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.