When using the inspection system, the game doesn’t pause. How can I pause it?

As I mentioned above, I made an inspection system, and normally the game should freeze while inspecting an item, but in my case it doesn’t.

These two images show a part of the code I wrote. What do I need to do to freeze the background while I’m inspecting an item?

1 Like

Somewhere, you will need a

and in the blueprint running this code, and the widget

1 Like

Yes, when I do this the game stops, but this time I can’t exit the inspection screen or rotate and zoom the inspected item. When I do it this way, the entire game freezes. What I’m actually trying to do here is to freeze only the background while inspecting an item. Right now, when I rotate the item, the character rotates as well.@ClockworkOcean

1 Like

Like I say, the stuff you don’t want to stop, like your inspection code, needs to be set to ‘tick on pause’ :slight_smile:

When you say ‘freeze the background’, can you show a pic of that? What’s in the background?

1 Like

@ClockworkOcean only game screen

1 Like

Ok, if you’re using your character controls to also manipulate the inspection, you might have a problem.

You can’t freeze the character to stop the background, because you won’t be able to inspect the object.

It might make sense, to have a blueprint ( inspect-able object ) which has it’s own camera etc. That way, you don’t have a problem with the character camera moving. You can use a view target to change between the character and the object.

I don’t really know what your setup is.

1 Like

I added a few new Blueprints, and now the background is no longer moving. However, this time I can’t exit the inspection screen.

1 Like

BTW if you want ı can show all my blueprint in ınspectıtem page

Ah, getting closer then… :slight_smile:

Can you show the code that deals with the exit?

1 Like

Can you explain how I can create a camera specifically for the inspect section?

If I’m not mistaken, this must be it. Ohh there’s something I forgot to mention. In the current situation, pressing the ‘E’ key to exit resets the item’s position. @ClockworkOcean

1 Like

Why are you disabling input, and then enabling it like that?

1 Like

@ClockworkOcean Honestly, while doing this I got help from a video, and I don’t even know why he do that. If you want to check it out, this is the video: https://www.youtube.com/watch?v=SKO4DDjnP70&list=PLr7pEVhX7QlrkNbY3sjUUxeBblYdyHeaj&index=11, and he does this process around the 18th minute. Everything I did is the same; later he adds character input, but the game gives an error saying that nothing is bound to anything. For some reason it says “NONE”. So I tried to look for another way.

1 Like

I took a quick look at the vid. Disabling and then enabling does nothing. You can just enable it :slight_smile:

( but disable later when not using the item ).

Yikes, I just watched a bit more. He does it again on the Started pin. It makes no sense. You’ve just got input ( otherwise the pin wouldn’t have fired ) so it must already be enabled. So why would you enable it again, or disable it?… :smiling_face_with_tear:

It’s got a lot of views, probably because it says ‘resident evil’ in the title…

Maybe try

1 Like

Thank you. I think this video will help me.

1 Like