We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Using variables

Home Forums Puzzles Using variables

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #55046
    catherinej
    Participant

    Hi,

    I’m new to using variables and I’m having some issues. I’m trying to assign an object’s position at random based on a list of empties. I’ve given the random position that is chosen at random a variable.

    I want to apply the position of that variable to an object.

    But it doesn’t work. it just places the object in the middle. When I change the object’s position to just an empty (and not a variable), it works.

    what is the right way to make this work?

    Attachments:
    You must be logged in to view attached files.
    #55056
    kdv
    Participant

    this way

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #55065
    catherinej
    Participant

    It worked!! Thank you so much

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.