Skip to content

Adds to_string block with optional types#404

Merged
manuq merged 1 commit intoendlessm:mainfrom
DoomTas3r:simple-to-string-block
Aug 9, 2025
Merged

Adds to_string block with optional types#404
manuq merged 1 commit intoendlessm:mainfrom
DoomTas3r:simple-to-string-block

Conversation

@DoomTas3r
Copy link
Copy Markdown
Contributor

Partially addresses #351

The to_string block converts a parameter to a string. It includes an option input with an integer, a boolean, a vector2, a vector3, a color, and an object.

The type of the selected input gets detected and displays as a normal parameter input with the detected type and snapping
example

This prints:

4.0
false
(0.0, 0.0)
(1.0, 1.0, 1.0, 1.0)
Sprite2D:<Sprite2D#59659781447>

The to_string block converts a parameter to a string. It includes an option input with an integer, a boolean, a vector2, a vector3, a color, and an object.

The type of the selected input gets detected and displays as a normal parameter input with the detected type and snapping
Copy link
Copy Markdown
Contributor

@manuq manuq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I think is good to have this block for now. Thank you!

@manuq manuq merged commit 8381962 into endlessm:main Aug 9, 2025
3 checks passed
@DoomTas3r DoomTas3r deleted the simple-to-string-block branch August 9, 2025 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants