[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< class [FNiagaraScratchPadScriptViewModel](API\Plugins\NiagaraEditor\ViewModels\FNiagaraScratchPadScriptViewMode-) > GetActiveScratchPadViewModelIfSet()