Autosexuality, an asexual-spectrum orientation, is when a person is attracted only to themself.