してると

if (someone) keeps doing; when (someone) is doing

→ 為る
し do + てる Progressive aspect + と conditional (when/if)
verb · informal Rare #26,288
if (someone) keeps doing; when (someone) is doing Colloquial contraction of していると. The exact meaning depends on context.
JA: そんなにゲームをしてると、目が疲れるよ。
EN: If you keep playing so many games, your eyes will get tired.
Conjugation of 為る

そうしてると思ったことは?

What went through your mind while you were doing that?

— ザ・マン・フロム・アース (2007)

しかしあいつ家でおとなしくしてるといいが…

I hope that guy stays home and behaves himself...

— Cosmic Princess Kaguya! (2026)

こうしてると昔を思い出すな

Doing this brings back memories of the old days.

— 続・夕陽のガンマン (1966)

俺はマイクとポーカーをしてると言った

I said I was playing poker with Mike.

— レザボア・ドッグス (1992)

じっとしてると気がヘンになる

If I stay still, I’ll go crazy.

— JUNO/ジュノ (2007)

彼は彼女に愛してると伝えました。

He told her he loved her.

ぐずぐずしてると俺らも危ない

If we keep dragging our feet, we're in danger too.

— 炎628 (1985)