The forum on this site is closed for new comments and posts. Continue the conversation in the new forum, and learn more here.

How do I swap back and forth?

  • in the script, your using you need to add a function for going to the next object so it repeats the same object you used and the next one after that one

    Comment actions Permalink
  • Could I see the script your using ill edit it and send you an updated version

    Comment actions Permalink
  • ItzJustSamu I didn't do any custom scripting, I just used the baseball hat template and tweaked everything as is above in the screenshots.

    Comment actions Permalink
  • You might have gone the wrong way about this. Could you send the project file and ill try to put together a cleaner way of doing this.

    Comment actions Permalink
  • Comment actions Permalink
  • I will check it out and let you know if i find a solution!

    Comment actions Permalink
  • Thank you so much.

    Comment actions Permalink
  • I'm working on it too but there's one thing I'm confused about your trying to make it where when you move your eye browns the hat changes? if so I only see 1 hat in the objects did you replace the old hat for the new one?

    Comment actions Permalink
  • I was doing it so the hat would change from grey to purple if I raised my eyebrows. I didn't create a new hat, I just duplicated the first hat and changed  the colors to purple. 

    My ideal action would be a tap to change back and forth but I couldn't figure out how to do that.

    Comment actions Permalink
  • oh ok then yea I could solve this issue your having just duplicate the hat again and make the new hat a different color then just add a tap script to it and it should be fine I'm working on it right now it should be done in like 5 minutes

    (EDIT) the tap Script is activated by eye brown movement

    Comment actions Permalink
  • Tim its going to take longer then i expected one of my scripts isn't working I'm fixing it right now 

    Comment actions Permalink
  • Tim, after working on it for a bit I think I this is what you wanted this is just an example project but here is the download link if this is what you wanted ill help you with the one you're using

    Comment actions Permalink
  • Thank you so much. This is a huge help!


    Comment actions Permalink
  • Your welcome did you see the project?

    Comment actions Permalink
  • Yes, thanks.

    Comment actions Permalink
  • Here you have it:

    I made it so you can customize all the elements that you otherwise would be able to with the baseball controller. If you need to change colors or swap them you need to go to the materials and change the main and secondary colors. That's pretty much it. I hope this helps!

    Comment actions Permalink
  • Haxhu-bekaj did better then me :P i was in a rush to finish it

    Comment actions Permalink
  • Thank you both so much.

    Comment actions Permalink

We're here to help! We just need a little bit of information...

What system are you using?

Have you downloaded the latest version of Lens Studio?

Please download the latest version of Lens Studio. If you still run into this issue, please come back and report it!

Is this issue causing Lens Studio to crash?

What system do you run Lens Studio on?



Follow the next steps to help us solve your issue:

  • Copy and paste this text into your TerminalCommand Window
    open ~/Library/Preferences/Snap/Lens\ Studio/ %LOCALAPPDATA%\Snap\Lens Studio Copy Text
  • Press ReturnEnter to run the command. The Lens Studio folder will automatically open
  • Prepare to upload your files: zip the "Log" Folder by right-clicking and choosing "compress."
    Locate the Log.txt file right above it.

    Attach a screenshot of the issue:



What is this most relevant to?

Please enter a brief description of your issue:

Thanks for submitting this issue.

Unfortunately, it's likely due to the operating system or hardware you're using – since they don't meet the system requirements for Lens Studio.

Still, we hear you loud and clear, and are logging the issue in case there's ever a workaround we can provide!

Minimum Requirements

Operating System: Windows 10 (64 bit); MacOS 10.11+

Hardware: Minimum of Intel Core i3 2.5Ghz or AMD Phenom II 2.6Ghz with 4 GB RAM; Intel HD Graphics 4000 / Nvidia GeForce 710 / AMD Radeon HD 6450 or better; screen resolution of 1280x768 or higher

We'll try to resolve this issue as soon as possible. Thanks for letting us know about it!

Keep an eye out for a followup email from us. We may have a couple more questions for you, or we might already have a solution to offer.

Happy creating!