***Edited by Moderator: Pooja Gadige to add platform capability tag***
@ZachT124 It looks to me like you are doing everything correctly. Essentially, you are looping to check the Enabled status for N iterations with a pause of X ms for each iteration. One thing you could potentially do is to loop for a set period of time. Here is an example; basically, get the time when you start the loop and add your interval to that. Set the ForLoop to have a limit of -1 which will effectively make it endless. Use a Boolean variable to determine how you broke out of the loop (i.e. set it to True when you reach your timeout for example). This is a pretty good way to wait for things that take a long time. You could also tweak your loops to coordinate your iterations with the pause duration to make it wait longer. Right now, you are only waiting for 5 seconds (10 iterations with a 500 ms pause). I like to use the infinite loop with a DateTime variable as it means you really only need to set your wait duration in one place and you don't need to do much mental math.