Use mouse draw line in the 2D,how to do?

Yes that worked! It only allows me to draw while on the certain page i selected, but it lets me draw all over the screen rather than just inside the journal page(which only takes up a portion of the screen) how can i restrict this like you have above in the little window? and then also, to clear any drawings, I would just empty my array right?