Add API functions to get the current effect time