Having an interest in something with

()がある means to have an interest or inclination. When said about a person, it often hints at romantic interest without stating it directly.

Dictionary Definition

意志(いし)意欲(いよく)がある。

興味(きょうみ)関心(かんしん)がある。(とく)に、()(した)気持(きも)ちがある。

1) There is intent/desire.

2) There is interest (in something). Particularly, a feeling of yearning.

Goo Dictionary

Examples

Interested in him with 気がある

Learn the meaning and usage of the idiom 気がある in Japanese, with examples from manga.
ふらいんぐうぃっち » Volume 5 » Page 57

Makoto and her family head out on a trip to the river. When they stop to pick up Kei’s friend Nao, Akane greets her with, “Howdy, Kei’s girlfriend!” Nao tells her she’s wrong.

(けい):
「よっオレのカノジョ」
“Yo, my girlfriend.”
なお:
「やめてよ」
“Stop that!”
(あかね):
「と()いつつ()があったりするんでしょ?」
“Although you say that, you're interested in him, aren't you?”