Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Scratch: New line
- marcyponek
-
Scratcher
3 posts
Scratch: New line
Hello. Is there a way to get new line in a normal text field? I mean, i want a sprite to say “Hi!” and then it could make new line so I could put another word bellow. Something like that:
“Hi!
How are you?”.
But i don't know how to do that. (PS. If I make many mistakes in my writing please forgive me I'm from Poland)
“Hi!
How are you?”.
But i don't know how to do that. (PS. If I make many mistakes in my writing please forgive me I'm from Poland)
Last edited by marcyponek (Feb. 15, 2021 18:33:52)
- aceyp9000
-
Scratcher
100+ posts
Scratch: New line
Could you clarify? I don't know what you are trying to ask.
- marcyponek
-
Scratcher
3 posts
Scratch: New line
Could you clarify? I don't know what you are trying to ask.I did edit the post.
- deck26
-
Scratcher
1000+ posts
Scratch: New line
You need to use a text engine to do this, you can't control how Scratch displays text in say or think blocks.
- hvalcarcel
-
Scratcher
83 posts
Scratch: New line
You need to use a text engine to do this, you can't control how Scratch displays text in say or think blocks.Well you could have an invisible sprite, and that sprite is right below the other sprite (the one who says the first line)
- awesome-llama
-
Scratcher
1000+ posts
Scratch: New line
It's not possible to do it within the speech bubbles… or is it?

Take a look inside this project: https://scratch.mit.edu/projects/488518057/
You'll see that I use a bunch of spaces to get the text to jump to the next line.


Take a look inside this project: https://scratch.mit.edu/projects/488518057/
You'll see that I use a bunch of spaces to get the text to jump to the next line.

- deck26
-
Scratcher
1000+ posts
Scratch: New line
It's not possible to do it within the speech bubbles… or is it?I did wonder about using spaces to get the desired result when I said it wasn't possible to control this.
Take a look inside this project: https://scratch.mit.edu/projects/488518057/
You'll see that I use a bunch of spaces to get the text to jump to the next line.
- marcyponek
-
Scratcher
3 posts
Scratch: New line
Thank you for your help!
Last edited by marcyponek (Feb. 18, 2021 06:24:50)
- Discussion Forums
- » Help with Scripts
-
» Scratch: New line