Skip to main content

I made a totally logical variable/conditional setup and it doesn’t seem to work on desktop prototype:
 

Test-input-visible” is a boolean variable property, while “text-input” is a string variable property

So I thought I was wrong about the set up so I asked Chatgpt:

 

Chatgpt’s prompt response


So, just to confirm if I made a mistake, I make a simpler interaction to test it out:

 

Simple prototype set



But I am still facing the same issue in prototype mode:

 

 Simpler interaction in Prototype mode

 

I also set it to “on click” 
 

Sampler animation state to “on click”


so I can try it out on mobile and works. (I used my Bluetooth mouse to test it out) but not on desktop:

 

Prototype on mobile

Have I done anything wrong? is this a bug? how do I solve this problem??

Okay guys, so I found a solution for this problem, I found a way to create a "null”  string variable and applied it to the string element instead of using a boolean variable for the prototype here

Then I replicated the "null" string value for the gamepad and mobile keyboard interactions here:

 

Key/gamepad interaction view-1



 

Key/Gamepad interaction view-2



Here is the interaction for the mobile keyboard replicated but set to "on-click”

 

Conditional prototype set to "on-click" for the mobile prototype


And this variable that was created to carry out this prototype:

 

 


I spotted another issue, for this prototype, there’s a problem. I set null-string value to “” or null. then I created two button states (disabled and default) and assigned a a boolean value for these buttons states here: 

 

Selected buttons states tied to a boolean variable


 

Boolean variable created


 

 

The interaction states that if “null-string-value” changes from null to anything else, then the button state should change to Enabled, else the button should be disabled

​​​​​

Which I confirm with Chatgpt to be logically correct:

 

Chatgpt’s response of my query on the interaction

 

The mock-up for the interaction is the imbedded video