scrollview question

Hi,

i’m using a scrollview for a chat window.
how can i have the scroller at the bottom of the scroll instead of at the top ?
my code :

chatScroll = GUILayout.BeginScrollView(chatScroll, GUILayout.Width(290), GUILayout.Height(140));

my text gets added at the bottom so i would like to have the scrollview at the bottom so i can scroll upwards to see older text.
Thanks

The chatScroll variable is what controls the position of the scroll view. So, if you update that with the appropriate increment when adding text to your scroll content, the scroll position will move to account for the new content.

thanks Laurie, worked great