Skip to content
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

Turtle Costume Behaves Differently Now #3367

Open
maryfries opened this issue Jun 26, 2024 · 1 comment
Open

Turtle Costume Behaves Differently Now #3367

maryfries opened this issue Jun 26, 2024 · 1 comment

Comments

@maryfries
Copy link

Hi!

We have a block that processes the pixels in a costume, and one of the inputs to the block offers all the costumes in the project. It used to work OK, but now it fails if the turtle is the selected costume.

image

It looks like this is happening because (pixels) of costume (Turtle) reports nothing (like (name) of costume (Turtle); (width) of costume (Turtle) and (height) of costume (Turtle) both report 0).

Is there any way to make the turtle costume behave like the other costumes, or alternatively to prohibit the inclusion of that costume from the input dropdown?

image

If not, does anyone have any other ideas for resolving this issue with our activity?

Thanks!

@ego-lay-atman-bay
Copy link
Contributor

That was always the case. The best way to avoid this, is to just check if the pixels are equal to nothing, then not do the calculations.

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

No branches or pull requests

2 participants