Simple answer:
It’s currently not supported by KiCad.
More complex answer:
It’s a common request and multiple people have experimented with different ways to do this (including myself)
Maybe the link below is a starting point to get results, but there may be better search terms.