Tall Scenes opening at bottom


(Trey Yancy) #1

I have a relative layout with a button that jumps to a scene. Being a relative layout, the scene is tall. Unfortunately, the jump displays the bottom part of the scene rather than the top. How do I fix this so that the top of the scene is displayed?


Smoothscroller in relative layouts
(Steve Flowers) #2

Add a function and call this function on scene load:

window.scrollTo(0,0);