Skip to content

Adds to_string block with optional types #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2025

Conversation

DoomTas3r
Copy link
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
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