Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Feedback
  3. Number bug in words -- feedback

Number bug in words -- feedback

Scheduled Pinned Locked Moved Feedback
4 Posts 3 Posters 943 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TheNicknameGovT Offline
    TheNicknameGovT Offline
    TheNicknameGov
    trusted helpers
    wrote on last edited by
    #1

    @info-creaticode


    e4befb58-80ef-45c4-9bf2-095368625ab0-Screen recording 2025-07-17 8.03.11 PM.gif


    As you can see, everything should work. The print is showing that the number is appearing, but won’t go into the list like it should.


    Can you figure out the bug? You probably want the link, so here you go:

    https://play.creaticode.com/projects/687990440b2607d8a4ff3250

    I'm back!!!

    CreatiCodeI 1 Reply Last reply
    0
    • TheNicknameGovT TheNicknameGov

      @info-creaticode


      e4befb58-80ef-45c4-9bf2-095368625ab0-Screen recording 2025-07-17 8.03.11 PM.gif


      As you can see, everything should work. The print is showing that the number is appearing, but won’t go into the list like it should.


      Can you figure out the bug? You probably want the link, so here you go:

      https://play.creaticode.com/projects/687990440b2607d8a4ff3250

      CreatiCodeI Offline
      CreatiCodeI Offline
      CreatiCode
      wrote on last edited by
      #2

      @tng

      The 2 lists “posX(tree)” and “posY(tree)” are private, so each clone of the tree has its own copy of these 2 lists. But on the stage you can only see the value of these 2 lists for the original sprite, not the lists for any of the clones.

      TheNicknameGovT 1 Reply Last reply
      0
      • CreatiCodeI CreatiCode

        @tng

        The 2 lists “posX(tree)” and “posY(tree)” are private, so each clone of the tree has its own copy of these 2 lists. But on the stage you can only see the value of these 2 lists for the original sprite, not the lists for any of the clones.

        TheNicknameGovT Offline
        TheNicknameGovT Offline
        TheNicknameGov
        trusted helpers
        wrote on last edited by
        #3

        @info-creaticode so are you saying the lists need to be public and not private?

        I'm back!!!

        CreatiCodeI 1 Reply Last reply
        0
        • TheNicknameGovT TheNicknameGov

          @info-creaticode so are you saying the lists need to be public and not private?

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote on last edited by
          #4

          @tng

          The lists need to be global to be viewed on the stage. But whether it should be global or private to each clone depends on what you are trying to do. Sounds like you want to track the position of each clone, then it should be private. In that case, your code is correct, just the way you are trying to view its content is not going to work.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • CreatiCode