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. Help
  3. How does Map XY to XYZ pos on object work

How does Map XY to XYZ pos on object work

Scheduled Pinned Locked Moved Help
3 Posts 2 Posters 912 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.
  • Tyller_T Offline
    Tyller_T Offline
    Tyller_
    trusted helpers
    wrote on last edited by
    #1

    I’ve been testing it out and when ever I use it, if the object doesn’t exist it crashes, if it does it returns nothing in the input regardless what the x y inputs are or where the object is relative to the camera.

    <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
    </div>

    Tyller_T 1 Reply Last reply
    0
    • Tyller_T Tyller_

      I’ve been testing it out and when ever I use it, if the object doesn’t exist it crashes, if it does it returns nothing in the input regardless what the x y inputs are or where the object is relative to the camera.

      Tyller_T Offline
      Tyller_T Offline
      Tyller_
      trusted helpers
      wrote on last edited by
      #2

      @tyller_ never mind I have figured out how it works, for anybody wondering, that x y on your screen must be over the object, otherwise it will return nothing

      <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
      </div>

      CreatiCodeI 1 Reply Last reply
      0
      • Tyller_T Tyller_

        @tyller_ never mind I have figured out how it works, for anybody wondering, that x y on your screen must be over the object, otherwise it will return nothing

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

        @tyller_

        You are right, it will return “” when no 3D object is under the 2D point you specified. For a reference project, please check out this:

        https://play.creaticode.com/projects/65412f495e00b4f660050acb

        CreatiCode

        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