deletes the Unity scrollbar component comp.
deletes the Unity scrollbar component attached to the UnityGameObject obj.
deletes the Unity scrollbar component with the specified name.


DeleteUnityScrollbar
deletes the Unity scrollbar component comp.
deletes the Unity scrollbar component attached to the UnityGameObject obj.
deletes the Unity scrollbar component with the specified name.
Details and Options
- DeleteUnityScrollbar destroys the Unity scrollbar component, and releases all references to it.
- DeleteUnityScrollbar[All] destroys all the scrollbar components in the current scene.
- DeleteUnityScrollbar is Listable.
Examples
open all close allBasic Examples (1)
Possible Issues (1)
A UnityScrollbar cannot be accessed after deletion:

Related Guides
Text
Wolfram Research (2019), DeleteUnityScrollbar, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollbar.html.
CMS
Wolfram Language. 2019. "DeleteUnityScrollbar." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollbar.html.
APA
Wolfram Language. (2019). DeleteUnityScrollbar. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollbar.html
BibTeX
@misc{reference.wolfram_2025_deleteunityscrollbar, author="Wolfram Research", title="{DeleteUnityScrollbar}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollbar.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_deleteunityscrollbar, organization={Wolfram Research}, title={DeleteUnityScrollbar}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/DeleteUnityScrollbar.html}, note=[Accessed: 16-August-2025]}