Button pressed --> Text changes

How do i make it so if someone presses a button, a text changes?

Block code
Button pressed —> run wire pulse block

The block should just be set to whatever text you want

IMG_0484


Do this…. It is better :slight_smile:

1 Like

Use 2 different texts. Activate the new text and deactivate the 2nd one when the button gets pressed.

1 Like

@FersionSpeedy did that help?

My idea doesn’t use blocks.

But the blocks is literally the most simple of all blocks, and it will show up in the exact same place…

But it is used way more memory.

Fair enough….

So I guess to summarize there are two solutions:

1: Blockcode [use “Set Text”]
2: Activate and Decative:

Blockcode

Pros:

  • Stays in one place
  • More consistent
  • Easier to use with multiple lines
  • Easy-to-use blockcode

Cons:

  • Uses a lot of memory
  • 50 Blockcode limit

Activation

Pros:

  • Cheap on memory
  • Consistent with a low amount of text
  • No blockcode required

Cons:

  • Messy if you are going to do this lots of times
  • Hard to gridsnap into place
3 Likes

There’s a block code limit?!

I’m pretty sure I remember a limit of about 50, but it’s not a big deal in text operations

2 Likes

I think the limit is 75:
Screenshot 2024-01-27 115434
Limit for triggers.

1 Like

Not blocks inside a block. We’re talking about the total amount of blocks (500 mem ones) that can be placed.

2 Likes

Sorry.

1 Like

Don’t worry about it. You don’t need to delete that. It was just a mistake.

2 Likes