Original Discord Post by lukefoster007 | 2024-07-15 20:54:48
i want to disable avatar form taking input when my pointer is on mock webview <@1023671043287699568> pls help,
Images:
Original Discord Post by lukefoster007 | 2024-07-15 20:54:48
i want to disable avatar form taking input when my pointer is on mock webview <@1023671043287699568> pls help,
Images:
Reply by k3kalinix | 2024-07-15 20:55:44
Hello
Reply by k3kalinix | 2024-07-15 20:56:37
Just add a boolean before the input control.
Reply by lukefoster007 | 2024-07-15 20:59:32
can you pls help me with instructions
Reply by k3kalinix | 2024-07-15 20:59:53
Share ConvaiNPC.cs
Reply by k3kalinix | 2024-07-15 20:59:57
Let me edit the code.
Reply by k3kalinix | 2024-07-15 21:06:46
I created a bool.
public bool CanListen;
Set this bool value to true or false at any time.
Reply by lukefoster007 | 2024-07-15 21:08:06
my input is on mouse left click
Reply by lukefoster007 | 2024-07-15 21:08:24
i want to disable if the cursor is in webview
Reply by k3kalinix | 2024-07-15 21:13:38
I don’t have any idea about your project.
Just you have to set this bool.
Reply by k3kalinix | 2024-07-15 21:14:10
If it is inside the webview, make this bool false, if not, make it true.
Reply by k3kalinix | 2024-07-15 21:16:22
I updated Convai related part.
Reply by k3kalinix | 2024-07-15 21:16:30
Maybe you can ask to ChatGPT.
Reply by lukefoster007 | 2024-07-15 21:37:36
thanks k3
Reply by k3kalinix | 2024-07-15 21:38:04
You are welcome
This conversation happened on the Convai Discord Server, so this post will be closed.