How does someone use magic in Runeterra? Does it come from parents like in Harry Potter Universe?

Or is it totally random like X-men? It seems there are really few mages or people that can use magic. So how does someone can use magic? How can Katarina teleport herself in short distances? How did she gained that ability or learned? From Lux's bio it seems magic doesn't reveal itself until the person is in a extreme situation. Just curious about how can magic appear in someone, because Runeterra literally means magic world
Report as:
Offensive Spam Harassment Incorrect Board