0 votes

Main code, GLOBAL AutoLoad also

For some reason it returns false but doesn't change the scroll

The ScrollContainer is the main code, it's also a GLOBAL one. The print("Data is: " + str(data)) shows me that the value of the "data" is false, yet the set_enable_v_scroll() function does not change.

Godot version 3.2.2
in Engine by (161 points)
edited by

What is the set_enable_v_scroll function?

It's a function for ScrollContainer to enable or disable the scrolling in vertical position. It works if I declare it false in the ready() function but not in my code.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.