Having problem with switching CRGB Array Pointer Added to fastLED not working.

Having problem with switching CRGB Array Pointer Added to fastLED not working.
The idea is to be able to shut down a strip without blanking the working CRGB array. The effect should be that the code still can work on the animation with the CRGB Array as working memory, just not write it to the LED strip.

The important part in the example code is in Setup with setting up the “writeMatrixP” array with the pointers before adding them to FastLed. And the FastLed.showLeds part where when the 2 led is to be shown i switch out the pointer to the empty CRGB Array.

I thourt that it wound work but it dont.

Example: https://gist.github.com/DonMacDk/5d7e3d11e497335781e43ee59358e216

P.S If there is a way to just write a part of a CRGB array til led strip and the other led’s then would be black the give me that solution!!

Does this give you any ideas?

Would this allow you to leave the data in place, but display it with a brightness of 0?
Or I might not be understanding what you want to do.

Thanks. That fixed my current problem.
To explain i was thinking of doing a inverse strobe effect where the Led display was turned off on every second update. The problem is that the CRGB array is part of the working memory of the animation. To just blank the display would not work. Further more i needed to keep the animation running even when not displayed (it looks wrong if i just froze the animation while off) how i solved it before was with a working and displaying CRGB array (expensive and slow on a Arduino Mega).
I still don’t know why the pointer swarp dont work but now its more of a academic question.
Thanks again.