How dynamically change sprite on spawn a get size of current spawned sprite? and

Hi guys, try to ask i create 2d runner with dynamically create level blocks and i need know end side of this block, so maybe some one know how to get size of my current spawned(with add PaperSpriteComponent node) sprite, this need to count size of all my spawned sprites(for now i do this by manually enter (±)size of spawned sprite).

also interested - how i can dynamically change sprites on add PaperSpriteComponent node?? it don’t a have in parameter for sprite!!!, for now i only can change PaperSpriteComponent in editor.

Sorry for bad english, Thx.