Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
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
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Saving Object Name into variable and moving it using the variable name

Saving Object Name into variable and moving it using the variable name

Scheduled Pinned Locked Moved Help and Support
3 Posts 3 Posters 812 Views 1 Watching
  • 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.
  • hotmailH Offline
    hotmailH Offline
    hotmail
    wrote on last edited by
    #1

    I have a graphic which is the number 4. I have named it 4. On a particular event I am Broadcasting the number 4 and Receiving it at a button object. When I click the button I am Getting Object, selecting By Name (in this case “4”) then attempting to Move To Point, using the received variable name and xPos and yPos variables. I cannot access the number Object by ANY method!

    RobinsonXR 1 Reply Last reply
    1
    • hotmailH hotmail

      I have a graphic which is the number 4. I have named it 4. On a particular event I am Broadcasting the number 4 and Receiving it at a button object. When I click the button I am Getting Object, selecting By Name (in this case “4”) then attempting to Move To Point, using the received variable name and xPos and yPos variables. I cannot access the number Object by ANY method!

      RobinsonXR Offline
      RobinsonXR Offline
      RobinsonX
      wrote on last edited by
      #2

      @JonnyFlapjack Can I see your behaviors? Make sure you're getting the object ID of the "4" object and that it's being received on the button object.

      Also, it's worth noting that broadcasting will trigger all receive message behaviors with the same key. So you want to have different keys for sending and receiving data between objects.

      gmailG 1 Reply Last reply
      0
      • RobinsonXR RobinsonX

        @JonnyFlapjack Can I see your behaviors? Make sure you're getting the object ID of the "4" object and that it's being received on the button object.

        Also, it's worth noting that broadcasting will trigger all receive message behaviors with the same key. So you want to have different keys for sending and receiving data between objects.

        gmailG Offline
        gmailG Offline
        gmail
        wrote on last edited by
        #3

        @RobinsonX

        Yes, thank you!
        I have determined that you can “find” an object by Name, but you must use the Object ID to manipulate it.

        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

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