Is there any way to get a delay in a function

thats the new question i posted

What work for me and my situation :+Create custom Method add inputs if need,=> Then Call your function => +add delay to it. Then Connect your custom Method where your function was.

It’s actually pretty easy so long as you only need to execute a single function.

This will call the custom event (Can be a event or a function) after the timer ends.

Otherwise you will have to call a event in the event graph from the function like this:

As for pulling data from a delayed event, its just impractical and cannot be done without a macro, not to mention macros that are asynchronous will not be allowed inside a function. Rule of thumb: Events and macros can have delays, while functions cannot. Functions are expected to execute within a single tick, while events and macros can execute over multiple ticks.