Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I want to remove the ScrollTo behavior from my unit and then re-add it later on by an event. Is there anyway to do this? And can it be done with all other behaviors?
I could not find this function in the forums. Thanks for reading.
An idea would be to do the ScrollTo as an event instead of adding the behavior to the unit. Then toggle the event on and off through any condition you like.
Here is an fast example , using a keypress to toggle a group containing the event.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for the response! It works!