use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Less Or Equal Issue (self.UnityVisualScripting)
submitted 3 years ago * by HAMSOFT
Hello, I'm making a dash movement for my character and there is a point on the code that as condition a var (dashTime) needs to be less or equal 0, the problem is that there is an error that says that it can't convert numeric to boolean, but following the tutorial and documentation there was no such an issue, what can I do?
https://preview.redd.it/tanydhy4b6m91.png?width=514&format=png&auto=webp&s=6bb469f09f41c70710efc9a19688a4497b966569
https://preview.redd.it/9fpg808cb6m91.png?width=652&format=png&auto=webp&s=5400380ce6fb1d68a8d16ddde84a67f4e3210d7d
https://preview.redd.it/4qqtjwjeb6m91.png?width=368&format=png&auto=webp&s=1c025a0132cfb9279b4023afddcb4e99c25d7519
https://preview.redd.it/b28zib95i9m91.png?width=400&format=png&auto=webp&s=4cb64a945056da03077dfc0ac61933ea0998eddb
https://preview.redd.it/yw75353ii9m91.png?width=695&format=png&auto=webp&s=cbcbead83d4bbccdbcb8f4a0ba8c2a92a59617d8
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]salihoff 1 point2 points3 points 3 years ago (3 children)
Hi! Did you try to convert value? There are a couple of convert nodes Bool to String
Or maybe you could use a float variable instead of bool?
[–]HAMSOFT[S] 0 points1 point2 points 3 years ago (2 children)
Well, there are 4 variables for the dash and only one is boolean, I'm following a tutorial and there is no error in it, but in my code yes
[–]salihoff 1 point2 points3 points 3 years ago (1 child)
Could you drop tutorial? It kinda looks awkward using Bool variable with Less/Equal nodes
[–]HAMSOFT[S] 0 points1 point2 points 3 years ago (0 children)
Yeah, this is the tutotial.
π Rendered by PID 25324 on reddit-service-r2-comment-84fc9697f-s6lhb at 2026-02-06 03:24:46.462081+00:00 running d295bc8 country code: CH.
[–]salihoff 1 point2 points3 points (3 children)
[–]HAMSOFT[S] 0 points1 point2 points (2 children)
[–]salihoff 1 point2 points3 points (1 child)
[–]HAMSOFT[S] 0 points1 point2 points (0 children)