When someone is online on TikTok, then a green dot appears on their profile picture. Keep in mind, the green dot may still be visible for some time after someone becomes inactive on TikTok.